﻿using ABlog.Domain.Infrastructure;
using Microsoft.Extensions.DependencyInjection;

namespace ABlog.Domain.Repository
{
    /// <summary>
    /// 基础持久化
    /// </summary>
    public interface IBaseRepository :IDependency
    {
        /// <summary>
        /// 初始化配置文件
        /// </summary>
        /// <param name="services"></param>
        /// <param name="connection"></param>
        void InitConfig(IServiceCollection services, string connection);
    }
}
